package org.gw.building.util;

import java.io.File;
import java.util.UUID;

public class FileHelper {

	public static File getTempFolder(String prefix) {
		String temp = System.getProperty("java.io.tmpdir");
		String uuid = UUID.randomUUID().toString();
		File f = new File(temp + File.separatorChar + prefix + uuid);
		if (f.exists())
			f.delete();
		f.mkdirs();
		return f;
	}
}
